package com.company.crm.workbench.mapper;

import com.company.crm.workbench.domain.Activity;
import com.company.crm.workbench.domain.ActivityRemark;

import java.util.List;

/**
 * 作者：王磊栋
 * 2021/4/19
 */
public interface ActivityRemarkMapper {
  /*  //根据id查寻评论
    ActivityRemark selectActivityRemarkById(String id);*/

    //查询所有的评论
    List<ActivityRemark> selectAllActivityRemarkById(String id);

    //添加评论
    int insertActivityRemark(ActivityRemark activityRemark);

    //根据评论的id来删除
    int deleteActivityRemark(String id);

    //根据id进行更新
    int updateActivityRemark(ActivityRemark activityRemark);

}
